package manager

import (
	"gitcode.com/G-YT/ANN/server/api/v1"
	"gitcode.com/G-YT/ANN/server/middleware"
	"github.com/gin-gonic/gin"
)

type FdHealthManagerRegisterRouter struct {
}

// InitFdHealthManagerRegisterRouter 初始化 健康师注册 路由信息
func (s *FdHealthManagerRegisterRouter) InitFdHealthManagerRegisterRouter(Router *gin.RouterGroup) {
	fdHealthManagerRegisterRouter := Router.Group("fdHealthManagerRegister").Use(middleware.OperationRecord())
	fdHealthManagerRegisterRouterWithoutRecord := Router.Group("fdHealthManagerRegister")
	var fdHealthManagerRegisterApi = v1.ApiGroupApp.ManagerApiGroup.FdHealthManagerRegisterApi
	{
		fdHealthManagerRegisterRouter.POST("createFdHealthManagerRegister", fdHealthManagerRegisterApi.CreateFdHealthManagerRegister)             // 新建健康师注册
		fdHealthManagerRegisterRouter.DELETE("deleteFdHealthManagerRegister", fdHealthManagerRegisterApi.DeleteFdHealthManagerRegister)           // 删除健康师注册
		fdHealthManagerRegisterRouter.DELETE("deleteFdHealthManagerRegisterByIds", fdHealthManagerRegisterApi.DeleteFdHealthManagerRegisterByIds) // 批量删除健康师注册
		fdHealthManagerRegisterRouter.PUT("updateFdHealthManagerRegister", fdHealthManagerRegisterApi.UpdateFdHealthManagerRegister)              // 更新健康师注册
	}
	{
		fdHealthManagerRegisterRouterWithoutRecord.GET("findFdHealthManagerRegister", fdHealthManagerRegisterApi.FindFdHealthManagerRegister)         // 根据ID获取健康师注册
		fdHealthManagerRegisterRouterWithoutRecord.GET("getFdHealthManagerRegisterList", fdHealthManagerRegisterApi.GetFdHealthManagerRegisterList)   // 获取健康师注册列表
		fdHealthManagerRegisterRouterWithoutRecord.GET("getScHealthManagerRegisterList", fdHealthManagerRegisterApi.GetScHealthManagerRegisterList)   // 获取健康师注册列表【服务中心】
		fdHealthManagerRegisterRouterWithoutRecord.GET("getAllHealthManagerRegisterList", fdHealthManagerRegisterApi.GetAllHealthManagerRegisterList) // 获取全部健康师注册列表【超管】
	}
}
